<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AMC Admin Login</title>
<script type="text/javascript">
    function submitByEnter()
    {
        if(event.keyCode == 13)
        {
            document.getElementById("loginForm").submit();
        }
    }
</script>
</head>
<body>
<h1 align="center">Login</h1>
<div align="center">
<form id="loginForm" action="LoginServlet" method="post" onkeydown="submitByEnter();" >
	&nbsp;&nbsp;username : <input type="text" name="username"  value="admin"/>	<br/><br/>	
	password : <input type="password" name="password"  value="admin"/><br/><br/>
 <input type="submit" value="submit"/>
</form>
</div>
</body>
</html>